package com.hqd.ch03.v51.utils.concurrent;

@FunctionalInterface
public interface FailureCallback {

    /**
     * Called when the {@link ListenableFuture} completes with failure.
     * <p>Note that Exceptions raised by this method are ignored.
     *
     * @param ex the failure
     */
    void onFailure(Throwable ex);

}
